package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "sourcetrack")
public class Sourcetrack {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "mediatype")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> mediatype = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "trackindex")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> trackindex = new ArrayList<String>();

}
